package com.example.rlw.mvpplugintest.downfile;

import com.example.rlw.mvpplugintest.mvp.BasePresenter;
import com.example.rlw.mvpplugintest.mvp.BaseView;

import java.io.File;

/**
 * 描述：下载文件
 * Created by rlw on 2019/3/4.
 */
public interface DownLoadContract {
    interface IDownloadView extends BaseView {
        void showSuccess(File file);
    }

    interface IDownloadPresenter extends BasePresenter<IDownloadView> {
        void downloadFile(String url);
    }
}
